home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / unix / volume22 / nn6.4 / part22 < prev    next >
Encoding:
Internet Message Format  |  1990-06-07  |  52.6 KB

  1. Subject:  REPOST v22i057:  NN Newsreader, release 6.4, Part22/21
  2. Newsgroups: comp.sources.unix
  3. Approved: rsalz@uunet.UU.NET
  4. X-Checksum-Snefru: cb918cf4 25fa0738 76c323fb 6929ba25
  5.  
  6. Submitted-by: "Kim F. Storm" <storm@texas.dk>
  7. Posting-number: Volume 22, Issue 57
  8. Archive-name: nn6.4/part22
  9.  
  10. [  I goofed.  There are 22 parts, not 21 parts.  Sorry for the delay in
  11.    reposting these.  --r$  ]
  12.  
  13. #! /bin/sh
  14. # This is a shell archive.  Remove anything before this line, then feed it
  15. # into a shell via "sh file" or similar.  To overwrite existing files,
  16. # type "sh file -c".
  17. # The tool that generated this appeared in the comp.sources.unix newsgroup;
  18. # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
  19. # Contents:  FILES SPLITNN1 back_act.sh conf/m-3b1g.h conf/m-att3b.h
  20. #   conf/m-dec3100.h conf/m-gould.h conf/m-hp9000.h conf/m-i80286.h
  21. #   conf/m-i80386.h conf/m-m680x0.h conf/m-m88000.h conf/m-mips.h
  22. #   conf/m-pyramid.h conf/m-rt6150.h conf/m-sgi4D.h conf/m-sparc.h
  23. #   conf/m-sun386i.h conf/m-symmetry.h conf/m-vax.h conf/s-3b1g.h
  24. #   conf/s-aux1-1.h conf/s-bsd4-3.h conf/s-dnix5-2.h conf/s-dnix5-3.h
  25. #   conf/s-dynix3-0.h conf/s-hpux2-1.h conf/s-hpux3-0.h
  26. #   conf/s-pyramid.h conf/s-sunos3.h conf/s-sunos4-0.h
  27. #   conf/s-sys5-tcap.h conf/s-texas1500.h conf/s-tower32.h
  28. #   conf/s-uport2-2.h conf/s-usg3-1.h conf/s-xenix386ds.h contrib/cn
  29. #   cvt-help.c debug.h dir.h help/adm.upgrade1 help/adm.upgrade2
  30. #   help/adm.upgrade3 help/adm.upgrade4 help/adm.welcome
  31. #   help/help.attr help/help.help help/help.set help/help.show
  32. #   inews/Manifest inews/clientlib.h inews/version.c nngrab.sh
  33. #   nnspew.sh nnusage.sh upgrade_rc.sh usercheck.c
  34. # Wrapped by storm@texas.dk on Sun May  6 18:20:30 1990
  35. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  36. echo If this archive is complete, you will see the following message:
  37. echo '          "shar: End of archive 22 (of 22)."'
  38. if test -f 'FILES' -a "${1}" != "-c" ; then 
  39.   echo shar: Will not clobber existing file \"'FILES'\"
  40. else
  41.   echo shar: Extracting \"'FILES'\" \(62 characters\)
  42.   sed "s/^X//" >'FILES' <<'END_OF_FILE'
  43. Xtail +3 MANIFEST | grep -v "Directory for" | awk '{print $1}'
  44. END_OF_FILE
  45.   if test 62 -ne `wc -c <'FILES'`; then
  46.     echo shar: \"'FILES'\" unpacked with wrong size!
  47.   fi
  48.   chmod +x 'FILES'
  49.   # end of 'FILES'
  50. fi
  51. if test -f 'SPLITNN1' -a "${1}" != "-c" ; then 
  52.   echo shar: Will not clobber existing file \"'SPLITNN1'\"
  53. else
  54.   echo shar: Extracting \"'SPLITNN1'\" \(245 characters\)
  55.   sed "s/^X//" >'SPLITNN1' <<'END_OF_FILE'
  56. X# split nn.1 in 4 parts
  57. Xcd man
  58. X
  59. Xsed -n \
  60. X-e '/BEGINPART A/,/ENDPART A/w nn.1.A' \
  61. X-e '/BEGINPART B/,/ENDPART B/w nn.1.B' \
  62. X-e '/BEGINPART C/,/ENDPART C/w nn.1.C' \
  63. X-e '/BEGINPART D/,/ENDPART D/w nn.1.D' nn.1
  64. X
  65. X# dont have to 'make' it
  66. Xtouch nn.1
  67. END_OF_FILE
  68.   if test 245 -ne `wc -c <'SPLITNN1'`; then
  69.     echo shar: \"'SPLITNN1'\" unpacked with wrong size!
  70.   fi
  71.   # end of 'SPLITNN1'
  72. fi
  73. if test -f 'back_act.sh' -a "${1}" != "-c" ; then 
  74.   echo shar: Will not clobber existing file \"'back_act.sh'\"
  75. else
  76.   echo shar: Extracting \"'back_act.sh'\" \(522 characters\)
  77.   sed "s/^X//" >'back_act.sh' <<'END_OF_FILE'
  78. X# prefix is inserted above by make
  79. X
  80. X#
  81. X#    back_act will maintain a set of `old' active files
  82. X#    in the DB directory where they can be used by nngoback
  83. X#    to backtrack the rc file a number of days.
  84. X#
  85. X#    It should be invoked by cron every day at midnight.
  86. X#    It should run as user `news'!
  87. X#
  88. X
  89. Xcd $DB || exit 1
  90. X
  91. Xp=15
  92. Xl=""
  93. Xfor i in 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
  94. Xdo
  95. X    if [ -f active.$i ]
  96. X    then
  97. X        mv active.$i active.$p
  98. X        l=$p
  99. X    elif [ -n "$l" ]
  100. X    then
  101. X        ln active.$l active.$p
  102. X    fi
  103. X    p=$i
  104. Xdone
  105. X
  106. Xcp $ACTIVE active.0
  107. Xchmod 644 active.0
  108. END_OF_FILE
  109.   if test 522 -ne `wc -c <'back_act.sh'`; then
  110.     echo shar: \"'back_act.sh'\" unpacked with wrong size!
  111.   fi
  112.   # end of 'back_act.sh'
  113. fi
  114. if test -f 'conf/m-3b1g.h' -a "${1}" != "-c" ; then 
  115.   echo shar: Will not clobber existing file \"'conf/m-3b1g.h'\"
  116. else
  117.   echo shar: Extracting \"'conf/m-3b1g.h'\" \(771 characters\)
  118.   sed "s/^X//" >'conf/m-3b1g.h' <<'END_OF_FILE'
  119. X/************** Machine (and compiler) dependent definitions. **************
  120. X *
  121. X *    These defs for GCC 1.34 on a UNIX-PC.  Written by Steve
  122. X *    Simmons (scs@lokkur.dexter.mi.us).  Shoot me, not Kim.
  123. X */
  124. X
  125. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  126. X
  127. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  128. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  129. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  130. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  131. X
  132. X
  133. X/*
  134. X *     Define NO_VARARGS if the varargs feature is not available
  135. X *
  136. X *    Also define NO_VARARGS if the vprintf/vsprintf routines are not
  137. X *    available (however, this will only by safe on some machines, like
  138. X *    the VAX).
  139. X *
  140. X */
  141. X
  142. X/* #define NO_VARARGS */
  143. X
  144. X#ifdef NETWORK_DATABASE
  145. XYOU LOSE ON NETWORK_DATABASE
  146. X#endif
  147. END_OF_FILE
  148.   if test 771 -ne `wc -c <'conf/m-3b1g.h'`; then
  149.     echo shar: \"'conf/m-3b1g.h'\" unpacked with wrong size!
  150.   fi
  151.   # end of 'conf/m-3b1g.h'
  152. fi
  153. if test -f 'conf/m-att3b.h' -a "${1}" != "-c" ; then 
  154.   echo shar: Will not clobber existing file \"'conf/m-att3b.h'\"
  155. else
  156.   echo shar: Extracting \"'conf/m-att3b.h'\" \(688 characters\)
  157.   sed "s/^X//" >'conf/m-att3b.h' <<'END_OF_FILE'
  158. X
  159. X/************** Machine (and compiler) dependent definitions. **************
  160. X *
  161. X *    Define appropriate types for the following ranges of integer
  162. X *    variables.  These are processor & compiler dependent, but the
  163. X *    distributed definitions will probably work on most systems.
  164. X */
  165. X
  166. X
  167. X
  168. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  169. X
  170. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  171. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  172. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  173. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  174. X
  175. X
  176. X/*
  177. X *    Define NETWORK_BYTE_ORDER if the machine's int32's are
  178. X *    already in network byte order, i.e. m68k based.
  179. X */
  180. X
  181. X#define NETWORK_BYTE_ORDER    /* */
  182. END_OF_FILE
  183.   if test 688 -ne `wc -c <'conf/m-att3b.h'`; then
  184.     echo shar: \"'conf/m-att3b.h'\" unpacked with wrong size!
  185.   fi
  186.   # end of 'conf/m-att3b.h'
  187. fi
  188. if test -f 'conf/m-dec3100.h' -a "${1}" != "-c" ; then 
  189.   echo shar: Will not clobber existing file \"'conf/m-dec3100.h'\"
  190. else
  191.   echo shar: Extracting \"'conf/m-dec3100.h'\" \(519 characters\)
  192.   sed "s/^X//" >'conf/m-dec3100.h' <<'END_OF_FILE'
  193. X/************** Machine (and compiler) dependent definitions. **************
  194. X *
  195. X *    This file is for a DECstation 3100, running Ultrix
  196. X */
  197. X
  198. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  199. X
  200. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  201. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  202. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  203. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  204. X
  205. X#undef NO_VARARGS
  206. X
  207. X#ifdef NETWORK_DATABASE
  208. X#undef NETWORK_BYTE_ORDER
  209. X#include <netinet/in.h>
  210. X#endif    /* NETWORK DATABASE */
  211. END_OF_FILE
  212.   if test 519 -ne `wc -c <'conf/m-dec3100.h'`; then
  213.     echo shar: \"'conf/m-dec3100.h'\" unpacked with wrong size!
  214.   fi
  215.   # end of 'conf/m-dec3100.h'
  216. fi
  217. if test -f 'conf/m-gould.h' -a "${1}" != "-c" ; then 
  218.   echo shar: Will not clobber existing file \"'conf/m-gould.h'\"
  219. else
  220.   echo shar: Extracting \"'conf/m-gould.h'\" \(750 characters\)
  221.   sed "s/^X//" >'conf/m-gould.h' <<'END_OF_FILE'
  222. X/************** Machine (and compiler) dependent definitions. **************
  223. X *
  224. X *    Define appropriate types for the following ranges of integer
  225. X *    variables.  These are processor & compiler dependent, but the
  226. X *    distributed definitions will probably work on most systems.
  227. X */
  228. X
  229. X
  230. X
  231. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  232. X
  233. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  234. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  235. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  236. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  237. X
  238. X/*
  239. X *    GOULD/UTX has varargs.h but not v[s]printf()
  240. X */
  241. X
  242. X#define NO_VARARGS
  243. X
  244. X
  245. X/*
  246. X *    Not in network byte order on the GOULD
  247. X */
  248. X
  249. X#undef NETWORK_BYTE_ORDER    /* */
  250. X#ifdef NETWORK_DATABASE
  251. X#include <netinet/in.h>
  252. X#endif
  253. END_OF_FILE
  254.   if test 750 -ne `wc -c <'conf/m-gould.h'`; then
  255.     echo shar: \"'conf/m-gould.h'\" unpacked with wrong size!
  256.   fi
  257.   # end of 'conf/m-gould.h'
  258. fi
  259. if test -f 'conf/m-hp9000.h' -a "${1}" != "-c" ; then 
  260.   echo shar: Will not clobber existing file \"'conf/m-hp9000.h'\"
  261. else
  262.   echo shar: Extracting \"'conf/m-hp9000.h'\" \(550 characters\)
  263.   sed "s/^X//" >'conf/m-hp9000.h' <<'END_OF_FILE'
  264. X
  265. X/************** Machine (and compiler) dependent definitions. **************
  266. X *
  267. X *    This is for HP9000 Series 320 and 800 (at least)
  268. X */
  269. X
  270. X
  271. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  272. X
  273. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  274. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  275. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  276. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  277. X
  278. X
  279. X/*
  280. X *    Define NETWORK_BYTE_ORDER if the machine's int32's are
  281. X *    already in network byte order, i.e. m68k based.
  282. X */
  283. X
  284. X#define NETWORK_BYTE_ORDER    /* */
  285. END_OF_FILE
  286.   if test 550 -ne `wc -c <'conf/m-hp9000.h'`; then
  287.     echo shar: \"'conf/m-hp9000.h'\" unpacked with wrong size!
  288.   fi
  289.   # end of 'conf/m-hp9000.h'
  290. fi
  291. if test -f 'conf/m-i80286.h' -a "${1}" != "-c" ; then 
  292.   echo shar: Will not clobber existing file \"'conf/m-i80286.h'\"
  293. else
  294.   echo shar: Extracting \"'conf/m-i80286.h'\" \(691 characters\)
  295.   sed "s/^X//" >'conf/m-i80286.h' <<'END_OF_FILE'
  296. X/************** Machine (and compiler) dependent definitions. **************
  297. X *
  298. X *    This is for the Intel 80286 processor.
  299. X */
  300. X
  301. X
  302. X
  303. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  304. X
  305. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  306. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  307. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  308. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  309. X
  310. X#define I286_BUG
  311. X
  312. X#ifdef NETWORK_DATABASE
  313. X
  314. X#undef NETWORK_BYTE_ORDER    /* THEY ARE NOT */
  315. X
  316. X/*
  317. X * Needs byte swapping here!
  318. X */
  319. X
  320. XYOU LOSE -- HOW IS THIS DONE ON THE 286?
  321. X
  322. X#define htonl(l)    ...    /* host long to network long */
  323. X#define ntohl(l)    ...    /* network long to host long */
  324. X
  325. X#endif    /* NETWORK DATABASE */
  326. END_OF_FILE
  327.   if test 691 -ne `wc -c <'conf/m-i80286.h'`; then
  328.     echo shar: \"'conf/m-i80286.h'\" unpacked with wrong size!
  329.   fi
  330.   # end of 'conf/m-i80286.h'
  331. fi
  332. if test -f 'conf/m-i80386.h' -a "${1}" != "-c" ; then 
  333.   echo shar: Will not clobber existing file \"'conf/m-i80386.h'\"
  334. else
  335.   echo shar: Extracting \"'conf/m-i80386.h'\" \(669 characters\)
  336.   sed "s/^X//" >'conf/m-i80386.h' <<'END_OF_FILE'
  337. X/************** Machine (and compiler) dependent definitions. **************
  338. X *
  339. X *    This file is for 80386 based UNIX/XENIX systems.
  340. X */
  341. X
  342. X
  343. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  344. X
  345. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  346. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  347. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  348. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  349. X
  350. X
  351. X#ifdef NETWORK_DATABASE
  352. X
  353. X#undef NETWORK_BYTE_ORDER    /* THEY ARE NOT */
  354. X
  355. XYOU LOSE -- I DON'T KNOW HOW TO DO THIS ON 80386 BASED SYSTEMS!
  356. X
  357. X#define htonl(l)    ...    /* host long to network long */
  358. X#define ntohl(l)    ...    /* network long to host long */
  359. X
  360. X#endif    /* NETWORK DATABASE */
  361. END_OF_FILE
  362.   if test 669 -ne `wc -c <'conf/m-i80386.h'`; then
  363.     echo shar: \"'conf/m-i80386.h'\" unpacked with wrong size!
  364.   fi
  365.   # end of 'conf/m-i80386.h'
  366. fi
  367. if test -f 'conf/m-m680x0.h' -a "${1}" != "-c" ; then 
  368.   echo shar: Will not clobber existing file \"'conf/m-m680x0.h'\"
  369. else
  370.   echo shar: Extracting \"'conf/m-m680x0.h'\" \(427 characters\)
  371.   sed "s/^X//" >'conf/m-m680x0.h' <<'END_OF_FILE'
  372. X/************** Machine (and compiler) dependent definitions. **************
  373. X *
  374. X *    For all Motorola 68000/68020/68030/... based systems.
  375. X */
  376. X
  377. X
  378. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  379. X
  380. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  381. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  382. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  383. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  384. X
  385. X#define NETWORK_BYTE_ORDER
  386. END_OF_FILE
  387.   if test 427 -ne `wc -c <'conf/m-m680x0.h'`; then
  388.     echo shar: \"'conf/m-m680x0.h'\" unpacked with wrong size!
  389.   fi
  390.   # end of 'conf/m-m680x0.h'
  391. fi
  392. if test -f 'conf/m-m88000.h' -a "${1}" != "-c" ; then 
  393.   echo shar: Will not clobber existing file \"'conf/m-m88000.h'\"
  394. else
  395.   echo shar: Extracting \"'conf/m-m88000.h'\" \(509 characters\)
  396.   sed "s/^X//" >'conf/m-m88000.h' <<'END_OF_FILE'
  397. X/************** Machine (and compiler) dependent definitions. **************
  398. X *
  399. X *    For all Motorola 88000 based systems.
  400. X *    From: jjohnson@urbana.mcd.mot.com (Jeff Johnson)
  401. X *          Motorola Inc -- Urbana Design Center
  402. X */
  403. X
  404. X
  405. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  406. X
  407. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  408. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  409. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  410. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  411. X
  412. X#define NETWORK_BYTE_ORDER
  413. END_OF_FILE
  414.   if test 509 -ne `wc -c <'conf/m-m88000.h'`; then
  415.     echo shar: \"'conf/m-m88000.h'\" unpacked with wrong size!
  416.   fi
  417.   # end of 'conf/m-m88000.h'
  418. fi
  419. if test -f 'conf/m-mips.h' -a "${1}" != "-c" ; then 
  420.   echo shar: Will not clobber existing file \"'conf/m-mips.h'\"
  421. else
  422.   echo shar: Extracting \"'conf/m-mips.h'\" \(552 characters\)
  423.   sed "s/^X//" >'conf/m-mips.h' <<'END_OF_FILE'
  424. X/************** Machine (and compiler) dependent definitions. **************
  425. X *
  426. X *    This file is for a Mips M12, running Umips
  427. X *    From: beldar@mips.com (Gardner Cohen)
  428. X */
  429. X
  430. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  431. X
  432. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  433. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  434. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  435. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  436. X
  437. X#undef NO_VARARGS
  438. X
  439. X#ifdef NETWORK_DATABASE
  440. X#undef NETWORK_BYTE_ORDER
  441. X#include <netinet/in.h>
  442. X#endif    /* NETWORK DATABASE */
  443. END_OF_FILE
  444.   if test 552 -ne `wc -c <'conf/m-mips.h'`; then
  445.     echo shar: \"'conf/m-mips.h'\" unpacked with wrong size!
  446.   fi
  447.   # end of 'conf/m-mips.h'
  448. fi
  449. if test -f 'conf/m-pyramid.h' -a "${1}" != "-c" ; then 
  450.   echo shar: Will not clobber existing file \"'conf/m-pyramid.h'\"
  451. else
  452.   echo shar: Extracting \"'conf/m-pyramid.h'\" \(676 characters\)
  453.   sed "s/^X//" >'conf/m-pyramid.h' <<'END_OF_FILE'
  454. X/************** Machine (and compiler) dependent definitions. **************
  455. X *
  456. X *    Define appropriate types for the following ranges of integer
  457. X *    variables.  These are processor & compiler dependent, but the
  458. X *    distributed definitions will probably work on most systems.
  459. X */
  460. X
  461. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  462. X
  463. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  464. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  465. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  466. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  467. X
  468. X#define NO_VARARGS
  469. X
  470. X#define STRCSPN
  471. X
  472. X#ifdef NETWORK_DATABASE
  473. X#define NETWORK_BYTE_ORDER
  474. X#include <netinet/in.h>
  475. X#endif    /* NETWORK DATABASE */
  476. END_OF_FILE
  477.   if test 676 -ne `wc -c <'conf/m-pyramid.h'`; then
  478.     echo shar: \"'conf/m-pyramid.h'\" unpacked with wrong size!
  479.   fi
  480.   # end of 'conf/m-pyramid.h'
  481. fi
  482. if test -f 'conf/m-rt6150.h' -a "${1}" != "-c" ; then 
  483.   echo shar: Will not clobber existing file \"'conf/m-rt6150.h'\"
  484. else
  485.   echo shar: Extracting \"'conf/m-rt6150.h'\" \(446 characters\)
  486.   sed "s/^X//" >'conf/m-rt6150.h' <<'END_OF_FILE'
  487. X/************** Machine (and compiler) dependent definitions. **************
  488. X *
  489. X *    For IBM/RT 6150
  490. X *    From: marcel@duteca.tudelft.nl (Marcel J.E. Mol)
  491. X */
  492. X
  493. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  494. X
  495. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  496. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  497. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  498. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  499. X
  500. X#define NETWORK_BYTE_ORDER    /* */
  501. END_OF_FILE
  502.   if test 446 -ne `wc -c <'conf/m-rt6150.h'`; then
  503.     echo shar: \"'conf/m-rt6150.h'\" unpacked with wrong size!
  504.   fi
  505.   # end of 'conf/m-rt6150.h'
  506. fi
  507. if test -f 'conf/m-sgi4D.h' -a "${1}" != "-c" ; then 
  508.   echo shar: Will not clobber existing file \"'conf/m-sgi4D.h'\"
  509. else
  510.   echo shar: Extracting \"'conf/m-sgi4D.h'\" \(523 characters\)
  511.   sed "s/^X//" >'conf/m-sgi4D.h' <<'END_OF_FILE'
  512. X/************** Machine (and compiler) dependent definitions. **************
  513. X *
  514. X *    This file is for a Silicon Graphics 4D series machines
  515. X */
  516. X
  517. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  518. X
  519. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  520. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  521. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  522. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  523. X
  524. X#undef NO_VARARGS
  525. X
  526. X#ifdef NETWORK_DATABASE
  527. X#undef NETWORK_BYTE_ORDER
  528. X#include <netinet/in.h>
  529. X#endif    /* NETWORK DATABASE */
  530. END_OF_FILE
  531.   if test 523 -ne `wc -c <'conf/m-sgi4D.h'`; then
  532.     echo shar: \"'conf/m-sgi4D.h'\" unpacked with wrong size!
  533.   fi
  534.   # end of 'conf/m-sgi4D.h'
  535. fi
  536. if test -f 'conf/m-sparc.h' -a "${1}" != "-c" ; then 
  537.   echo shar: Will not clobber existing file \"'conf/m-sparc.h'\"
  538. else
  539.   echo shar: Extracting \"'conf/m-sparc.h'\" \(664 characters\)
  540.   sed "s/^X//" >'conf/m-sparc.h' <<'END_OF_FILE'
  541. X
  542. X/************** Machine (and compiler) dependent definitions. **************
  543. X *
  544. X *    Define appropriate types for the following ranges of integer
  545. X *    variables.  These are processor & compiler dependent, but the
  546. X *    distributed definitions will probably work on most systems.
  547. X */
  548. X
  549. X
  550. X
  551. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  552. X
  553. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  554. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  555. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  556. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  557. X
  558. X
  559. X
  560. X/*
  561. X *    Define NETWORK_BYTE_ORDER if the machine's longs are
  562. X *    already in network byte order.
  563. X */
  564. X
  565. X#define NETWORK_BYTE_ORDER
  566. END_OF_FILE
  567.   if test 664 -ne `wc -c <'conf/m-sparc.h'`; then
  568.     echo shar: \"'conf/m-sparc.h'\" unpacked with wrong size!
  569.   fi
  570.   # end of 'conf/m-sparc.h'
  571. fi
  572. if test -f 'conf/m-sun386i.h' -a "${1}" != "-c" ; then 
  573.   echo shar: Will not clobber existing file \"'conf/m-sun386i.h'\"
  574. else
  575.   echo shar: Extracting \"'conf/m-sun386i.h'\" \(673 characters\)
  576.   sed "s/^X//" >'conf/m-sun386i.h' <<'END_OF_FILE'
  577. X/************** Machine (and compiler) dependent definitions. **************
  578. X *
  579. X *    Define appropriate types for the following ranges of integer
  580. X *    variables.  These are processor & compiler dependent, but the
  581. X *    distributed definitions will probably work on most systems.
  582. X */
  583. X
  584. X
  585. X
  586. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  587. X
  588. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  589. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  590. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  591. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  592. X
  593. X
  594. X
  595. X/*
  596. X *    Not in network byte order on the 386
  597. X */
  598. X
  599. X#undef NETWORK_BYTE_ORDER    /* */
  600. X#ifdef NETWORK_DATABASE
  601. X#include <netinet/in.h>
  602. X#endif
  603. END_OF_FILE
  604.   if test 673 -ne `wc -c <'conf/m-sun386i.h'`; then
  605.     echo shar: \"'conf/m-sun386i.h'\" unpacked with wrong size!
  606.   fi
  607.   # end of 'conf/m-sun386i.h'
  608. fi
  609. if test -f 'conf/m-symmetry.h' -a "${1}" != "-c" ; then 
  610.   echo shar: Will not clobber existing file \"'conf/m-symmetry.h'\"
  611. else
  612.   echo shar: Extracting \"'conf/m-symmetry.h'\" \(645 characters\)
  613.   sed "s/^X//" >'conf/m-symmetry.h' <<'END_OF_FILE'
  614. X/************** Machine (and compiler) dependent definitions. **************
  615. X *
  616. X *    This file is for the Symmetry.
  617. X *    Use with s-dynix3-0.h.
  618. X */
  619. X
  620. X
  621. X
  622. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  623. X
  624. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  625. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  626. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  627. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  628. X
  629. X/*
  630. X * The Symmetry C compiler lacks vprintf/vsprintf and strcspn
  631. X */
  632. X
  633. X#define NO_VARARGS
  634. X#define STRCSPN
  635. X
  636. X/*
  637. X *    Not in network byte order on the 386
  638. X */
  639. X
  640. X#undef NETWORK_BYTE_ORDER    /* */
  641. X#ifdef NETWORK_DATABASE
  642. X#include <netinet/in.h>
  643. X#endif
  644. END_OF_FILE
  645.   if test 645 -ne `wc -c <'conf/m-symmetry.h'`; then
  646.     echo shar: \"'conf/m-symmetry.h'\" unpacked with wrong size!
  647.   fi
  648.   # end of 'conf/m-symmetry.h'
  649. fi
  650. if test -f 'conf/m-vax.h' -a "${1}" != "-c" ; then 
  651.   echo shar: Will not clobber existing file \"'conf/m-vax.h'\"
  652. else
  653.   echo shar: Extracting \"'conf/m-vax.h'\" \(788 characters\)
  654.   sed "s/^X//" >'conf/m-vax.h' <<'END_OF_FILE'
  655. X
  656. X/************** Machine (and compiler) dependent definitions. **************
  657. X *
  658. X *    Define appropriate types for the following ranges of integer
  659. X *    variables.  These are processor & compiler dependent, but the
  660. X *    distributed definitions will probably work on most systems.
  661. X */
  662. X
  663. X
  664. X
  665. X/*      MACHINE TYPE    DEFINED TYPE        VALUE RANGE    */
  666. X
  667. Xtypedef unsigned char    int8;        /*        0 ..     255 */
  668. Xtypedef short        int16;        /*  -10,000 ..  10,000 */
  669. Xtypedef long        int32;        /* -100,000 .. 100,000 */
  670. Xtypedef unsigned long    uint32;        /*       0 ..  2^31-1 */
  671. X
  672. X
  673. X/*
  674. X *    VAX/BSD has varargs.h but not v[s]printf()
  675. X */
  676. X
  677. X#define NO_VARARGS
  678. X
  679. X
  680. X/*
  681. X *    The VAX does not have longs in network byte order
  682. X */
  683. X
  684. X#undef NETWORK_BYTE_ORDER    /* we need to use ntohl/htonl */
  685. X#ifdef NETWORK_DATABASE
  686. X#include <netinet/in.h>
  687. X#endif
  688. END_OF_FILE
  689.   if test 788 -ne `wc -c <'conf/m-vax.h'`; then
  690.     echo shar: \"'conf/m-vax.h'\" unpacked with wrong size!
  691.   fi
  692.   # end of 'conf/m-vax.h'
  693. fi
  694. if test -f 'conf/s-3b1g.h' -a "${1}" != "-c" ; then 
  695.   echo shar: Will not clobber existing file \"'conf/s-3b1g.h'\"
  696. else
  697.   echo shar: Extracting \"'conf/s-3b1g.h'\" \(298 characters\)
  698.   sed "s/^X//" >'conf/s-3b1g.h' <<'END_OF_FILE'
  699. X/*
  700. X *    These defs for GCC 1.34 on a UNIX-PC.  Written by Steve
  701. X *    Simmons (scs@lokkur.dexter.mi.us).  Shoot me, not Kim.
  702. X */
  703. X
  704. X#include "s-sys5-tcap.h"
  705. X
  706. X#undef    SIGNAL_HANDLERS_ARE_VOID
  707. X
  708. X#undef    HAVE_MKDIR
  709. X
  710. X#undef    DETATCH_TERMINAL
  711. X
  712. X#undef    MAILX
  713. X#define    MAILX        "/bin/mail"
  714. X
  715. X#define COMPILER_FLAGS -g -O
  716. END_OF_FILE
  717.   if test 298 -ne `wc -c <'conf/s-3b1g.h'`; then
  718.     echo shar: \"'conf/s-3b1g.h'\" unpacked with wrong size!
  719.   fi
  720.   # end of 'conf/s-3b1g.h'
  721. fi
  722. if test -f 'conf/s-aux1-1.h' -a "${1}" != "-c" ; then 
  723.   echo shar: Will not clobber existing file \"'conf/s-aux1-1.h'\"
  724. else
  725.   echo shar: Extracting \"'conf/s-aux1-1.h'\" \(741 characters\)
  726.   sed "s/^X//" >'conf/s-aux1-1.h' <<'END_OF_FILE'
  727. X/*
  728. X *    This version is for A/UX 1.1 (approx. System V Release 3.1)
  729. X */
  730. X
  731. X#define NO_DIRENT_H
  732. X#include "s-sys5.h"
  733. X
  734. X/*
  735. X *    Define if your system has BSD like job control (SIGTSTP works)
  736. X */
  737. X
  738. X#define HAVE_JOBCONTROL            /* */
  739. X
  740. X/*
  741. X *    Define if your system provides the "directory(3X)" access routines
  742. X *
  743. X *    If true, include the header file(s) required by the package below
  744. X *    (remember that <sys/types.h> or equivalent is included above)
  745. X *    Also typedef Direntry to the proper struct type.
  746. X */
  747. X
  748. X#define    HAVE_DIRECTORY            /* */
  749. X
  750. X#include <sys/dir.h>            /* A/UX */
  751. X
  752. Xtypedef struct direct Direntry;        /* System V */
  753. X
  754. X/*
  755. X *    Define HAVE_MULTIGROUP if system has simultaneous multiple group
  756. X *    membership capability (BSD style).
  757. X */
  758. X
  759. X#define HAVE_MULTIGROUP
  760. X
  761. END_OF_FILE
  762.   if test 741 -ne `wc -c <'conf/s-aux1-1.h'`; then
  763.     echo shar: \"'conf/s-aux1-1.h'\" unpacked with wrong size!
  764.   fi
  765.   # end of 'conf/s-aux1-1.h'
  766. fi
  767. if test -f 'conf/s-bsd4-3.h' -a "${1}" != "-c" ; then 
  768.   echo shar: Will not clobber existing file \"'conf/s-bsd4-3.h'\"
  769. else
  770.   echo shar: Extracting \"'conf/s-bsd4-3.h'\" \(294 characters\)
  771.   sed "s/^X//" >'conf/s-bsd4-3.h' <<'END_OF_FILE'
  772. X/*
  773. X *    This version is for 4.3 systems
  774. X */
  775. X
  776. X#include "s-bsd4-2.h"
  777. X
  778. X/*
  779. X *    Define MICRO_ALARM to timeout in 0.1 seconds if possible
  780. X */
  781. X
  782. X#undef    MICRO_ALARM
  783. X#define MICRO_ALARM()    ualarm(100000,0)    /* BSD 4.3 */
  784. X
  785. X/*
  786. X *    Define if your system has a 4.3BSD like syslog library.
  787. X */
  788. X
  789. X#define HAVE_SYSLOG
  790. END_OF_FILE
  791.   if test 294 -ne `wc -c <'conf/s-bsd4-3.h'`; then
  792.     echo shar: \"'conf/s-bsd4-3.h'\" unpacked with wrong size!
  793.   fi
  794.   # end of 'conf/s-bsd4-3.h'
  795. fi
  796. if test -f 'conf/s-dnix5-2.h' -a "${1}" != "-c" ; then 
  797.   echo shar: Will not clobber existing file \"'conf/s-dnix5-2.h'\"
  798. else
  799.   echo shar: Extracting \"'conf/s-dnix5-2.h'\" \(331 characters\)
  800.   sed "s/^X//" >'conf/s-dnix5-2.h' <<'END_OF_FILE'
  801. X/*
  802. X *    This version is for dnix version 5.2 on DIAB DS90.
  803. X */
  804. X
  805. X#include "s-sys5.h"
  806. X
  807. X#undef    SIGNAL_HANDLERS_ARE_VOID    /* not void on dnix */
  808. X
  809. X/*
  810. X *    Define AVOID_SHELL_EXEC if the system gets confused by
  811. X *        #!/bin/sh
  812. X *    lines in shell scripts, e.g. only reads #! and thinks it
  813. X *    is a csh script.
  814. X */
  815. X
  816. X#define AVOID_SHELL_EXEC        /* */
  817. END_OF_FILE
  818.   if test 331 -ne `wc -c <'conf/s-dnix5-2.h'`; then
  819.     echo shar: \"'conf/s-dnix5-2.h'\" unpacked with wrong size!
  820.   fi
  821.   # end of 'conf/s-dnix5-2.h'
  822. fi
  823. if test -f 'conf/s-dnix5-3.h' -a "${1}" != "-c" ; then 
  824.   echo shar: Will not clobber existing file \"'conf/s-dnix5-3.h'\"
  825. else
  826.   echo shar: Extracting \"'conf/s-dnix5-3.h'\" \(275 characters\)
  827.   sed "s/^X//" >'conf/s-dnix5-3.h' <<'END_OF_FILE'
  828. X/*
  829. X *    This version is for dnix version 5.3 on DIAB DS90.
  830. X */
  831. X
  832. X#include "s-sys5.h"
  833. X
  834. X/*
  835. X *    Define AVOID_SHELL_EXEC if the system gets confused by
  836. X *        #!/bin/sh
  837. X *    lines in shell scripts, e.g. only reads #! and thinks it
  838. X *    is a csh script.
  839. X */
  840. X
  841. X#define AVOID_SHELL_EXEC        /* */
  842. END_OF_FILE
  843.   if test 275 -ne `wc -c <'conf/s-dnix5-3.h'`; then
  844.     echo shar: \"'conf/s-dnix5-3.h'\" unpacked with wrong size!
  845.   fi
  846.   # end of 'conf/s-dnix5-3.h'
  847. fi
  848. if test -f 'conf/s-dynix3-0.h' -a "${1}" != "-c" ; then 
  849.   echo shar: Will not clobber existing file \"'conf/s-dynix3-0.h'\"
  850. else
  851.   echo shar: Extracting \"'conf/s-dynix3-0.h'\" \(95 characters\)
  852.   sed "s/^X//" >'conf/s-dynix3-0.h' <<'END_OF_FILE'
  853. X/*
  854. X *    This version is for Dynix 3.0 systems
  855. X */
  856. X
  857. X#include "s-bsd4-2.h"
  858. X
  859. X#undef HAVE_MULTIGROUP
  860. END_OF_FILE
  861.   if test 95 -ne `wc -c <'conf/s-dynix3-0.h'`; then
  862.     echo shar: \"'conf/s-dynix3-0.h'\" unpacked with wrong size!
  863.   fi
  864.   # end of 'conf/s-dynix3-0.h'
  865. fi
  866. if test -f 'conf/s-hpux2-1.h' -a "${1}" != "-c" ; then 
  867.   echo shar: Will not clobber existing file \"'conf/s-hpux2-1.h'\"
  868. else
  869.   echo shar: Extracting \"'conf/s-hpux2-1.h'\" \(672 characters\)
  870.   sed "s/^X//" >'conf/s-hpux2-1.h' <<'END_OF_FILE'
  871. X/*
  872. X *    This version is for HP-UX 2.1 (on HP9000 Series 800)
  873. X */
  874. X
  875. X#include "s-hpux.h"
  876. X
  877. X/*
  878. X *    Define if your system has BSD like job control (SIGTSTP works)
  879. X */
  880. X
  881. X#define HAVE_JOBCONTROL            /* */
  882. X
  883. X
  884. X/*
  885. X *    Define if your system has a 4.3BSD like syslog library.
  886. X */
  887. X
  888. X#define HAVE_SYSLOG
  889. X
  890. X/*
  891. X *    Define HAVE_GETHOSTNAME if your system provides a BSD like
  892. X *    gethostname routine.
  893. X */
  894. X
  895. X#undef    HAVE_UNAME
  896. X#define    HAVE_GETHOSTNAME
  897. X
  898. X/*
  899. X *    Define DETATCH_TERMINAL to be a command sequence which
  900. X *    will detatch a process from the control terminal
  901. X */
  902. X
  903. X#undef    DETATCH_TERMINAL
  904. X
  905. X/*
  906. X *    Define standard compiler flags here:
  907. X */
  908. X
  909. X#define COMPILER_FLAGS -O -z
  910. END_OF_FILE
  911.   if test 672 -ne `wc -c <'conf/s-hpux2-1.h'`; then
  912.     echo shar: \"'conf/s-hpux2-1.h'\" unpacked with wrong size!
  913.   fi
  914.   # end of 'conf/s-hpux2-1.h'
  915. fi
  916. if test -f 'conf/s-hpux3-0.h' -a "${1}" != "-c" ; then 
  917.   echo shar: Will not clobber existing file \"'conf/s-hpux3-0.h'\"
  918. else
  919.   echo shar: Extracting \"'conf/s-hpux3-0.h'\" \(288 characters\)
  920.   sed "s/^X//" >'conf/s-hpux3-0.h' <<'END_OF_FILE'
  921. X/*
  922. X *    This version is for HP-UX 3.0 (on HP9000 Series 800)
  923. X */
  924. X
  925. X#include "s-hpux2-1.h"
  926. X
  927. X#define    SIGNAL_HANDLERS_ARE_VOID
  928. X
  929. X/*
  930. X *    Define DETATCH_TERMINAL to be a command sequence which
  931. X *    will detatch a process from the control terminal
  932. X */
  933. X
  934. X#define    DETATCH_TERMINAL    setpgrp();
  935. END_OF_FILE
  936.   if test 288 -ne `wc -c <'conf/s-hpux3-0.h'`; then
  937.     echo shar: \"'conf/s-hpux3-0.h'\" unpacked with wrong size!
  938.   fi
  939.   # end of 'conf/s-hpux3-0.h'
  940. fi
  941. if test -f 'conf/s-pyramid.h' -a "${1}" != "-c" ; then 
  942.   echo shar: Will not clobber existing file \"'conf/s-pyramid.h'\"
  943. else
  944.   echo shar: Extracting \"'conf/s-pyramid.h'\" \(229 characters\)
  945.   sed "s/^X//" >'conf/s-pyramid.h' <<'END_OF_FILE'
  946. X/*
  947. X *    This version is for PYRAMID (almost BSD 4.2) systems
  948. X *    (also known as Nixdorf Targon 35).
  949. X */
  950. X
  951. X#define USE_STRINGS_H
  952. X
  953. X#include "s-bsd4-2.h"
  954. X
  955. Xextern FILE *popen();
  956. X
  957. X#undef    MAILX
  958. X#define    MAILX    "/usr/.ucbucb/Mail"        /* BSD */
  959. END_OF_FILE
  960.   if test 229 -ne `wc -c <'conf/s-pyramid.h'`; then
  961.     echo shar: \"'conf/s-pyramid.h'\" unpacked with wrong size!
  962.   fi
  963.   # end of 'conf/s-pyramid.h'
  964. fi
  965. if test -f 'conf/s-sunos3.h' -a "${1}" != "-c" ; then 
  966.   echo shar: Will not clobber existing file \"'conf/s-sunos3.h'\"
  967. else
  968.   echo shar: Extracting \"'conf/s-sunos3.h'\" \(275 characters\)
  969.   sed "s/^X//" >'conf/s-sunos3.h' <<'END_OF_FILE'
  970. X/*
  971. X *    This version is for SunOS 3.x systems (tested on 3.5)
  972. X */
  973. X
  974. X#define    USE_STRINGS_H
  975. X
  976. X#include "s-bsd4-2.h"
  977. X
  978. X#define    HAVE_STRCHR
  979. X
  980. X/*
  981. X *    Define MICRO_ALARM to timeout after 0.1 seconds if possible
  982. X */
  983. X
  984. X#undef    MICRO_ALARM
  985. X#define MICRO_ALARM()    ualarm(100000,0)    /* BSD 4.3 */
  986. END_OF_FILE
  987.   if test 275 -ne `wc -c <'conf/s-sunos3.h'`; then
  988.     echo shar: \"'conf/s-sunos3.h'\" unpacked with wrong size!
  989.   fi
  990.   # end of 'conf/s-sunos3.h'
  991. fi
  992. if test -f 'conf/s-sunos4-0.h' -a "${1}" != "-c" ; then 
  993.   echo shar: Will not clobber existing file \"'conf/s-sunos4-0.h'\"
  994. else
  995.   echo shar: Extracting \"'conf/s-sunos4-0.h'\" \(311 characters\)
  996.   sed "s/^X//" >'conf/s-sunos4-0.h' <<'END_OF_FILE'
  997. X/*
  998. X *    This version is for SUNOS 4.0
  999. X */
  1000. X
  1001. X#define    USE_STRINGS_H
  1002. X
  1003. X#include "s-bsd4-3.h"
  1004. X
  1005. X#define HAVE_STRCHR            /* */
  1006. X
  1007. X/*
  1008. X *    Define if a signal handler has type void (see signal.h)
  1009. X */
  1010. X
  1011. X#define    SIGNAL_HANDLERS_ARE_VOID    /* */
  1012. X
  1013. X/*
  1014. X *    Specify where the Bourne Shell is.
  1015. X */
  1016. X
  1017. X#undef    SHELL
  1018. X#define SHELL        "/usr/bin/sh"
  1019. END_OF_FILE
  1020.   if test 311 -ne `wc -c <'conf/s-sunos4-0.h'`; then
  1021.     echo shar: \"'conf/s-sunos4-0.h'\" unpacked with wrong size!
  1022.   fi
  1023.   # end of 'conf/s-sunos4-0.h'
  1024. fi
  1025. if test -f 'conf/s-sys5-tcap.h' -a "${1}" != "-c" ; then 
  1026.   echo shar: Will not clobber existing file \"'conf/s-sys5-tcap.h'\"
  1027. else
  1028.   echo shar: Extracting \"'conf/s-sys5-tcap.h'\" \(155 characters\)
  1029.   sed "s/^X//" >'conf/s-sys5-tcap.h' <<'END_OF_FILE'
  1030. X/*
  1031. X *    System V based system
  1032. X *    TERMCAP is used instead of TERMINFO
  1033. X */
  1034. X
  1035. X#include "s-sys5.h"
  1036. X
  1037. X#undef USE_TERMINFO
  1038. X#undef TERMLIB
  1039. X
  1040. X#define TERMLIB -ltermlib
  1041. END_OF_FILE
  1042.   if test 155 -ne `wc -c <'conf/s-sys5-tcap.h'`; then
  1043.     echo shar: \"'conf/s-sys5-tcap.h'\" unpacked with wrong size!
  1044.   fi
  1045.   # end of 'conf/s-sys5-tcap.h'
  1046. fi
  1047. if test -f 'conf/s-texas1500.h' -a "${1}" != "-c" ; then 
  1048.   echo shar: Will not clobber existing file \"'conf/s-texas1500.h'\"
  1049. else
  1050.   echo shar: Extracting \"'conf/s-texas1500.h'\" \(149 characters\)
  1051.   sed "s/^X//" >'conf/s-texas1500.h' <<'END_OF_FILE'
  1052. X/*
  1053. X *    This file is for the Texas Instruments System 1500
  1054. X *    68020/68030 based multiprocessor systems (use with m-m680x0.h).
  1055. X */
  1056. X
  1057. X#include "s-sys5.h"
  1058. END_OF_FILE
  1059.   if test 149 -ne `wc -c <'conf/s-texas1500.h'`; then
  1060.     echo shar: \"'conf/s-texas1500.h'\" unpacked with wrong size!
  1061.   fi
  1062.   # end of 'conf/s-texas1500.h'
  1063. fi
  1064. if test -f 'conf/s-tower32.h' -a "${1}" != "-c" ; then 
  1065.   echo shar: Will not clobber existing file \"'conf/s-tower32.h'\"
  1066. else
  1067.   echo shar: Extracting \"'conf/s-tower32.h'\" \(141 characters\)
  1068.   sed "s/^X//" >'conf/s-tower32.h' <<'END_OF_FILE'
  1069. X/*
  1070. X *    This version is for Tower-32 machines.
  1071. X */
  1072. X
  1073. X#define NO_DIRENT_H
  1074. X#include "s-sys5.h"
  1075. X
  1076. X#undef    SIGNAL_HANDLERS_ARE_VOID
  1077. X#undef    HAVE_MKDIR
  1078. END_OF_FILE
  1079.   if test 141 -ne `wc -c <'conf/s-tower32.h'`; then
  1080.     echo shar: \"'conf/s-tower32.h'\" unpacked with wrong size!
  1081.   fi
  1082.   # end of 'conf/s-tower32.h'
  1083. fi
  1084. if test -f 'conf/s-uport2-2.h' -a "${1}" != "-c" ; then 
  1085.   echo shar: Will not clobber existing file \"'conf/s-uport2-2.h'\"
  1086. else
  1087.   echo shar: Extracting \"'conf/s-uport2-2.h'\" \(362 characters\)
  1088.   sed "s/^X//" >'conf/s-uport2-2.h' <<'END_OF_FILE'
  1089. X/*
  1090. X *    This version is for Microport UNIX V.2 machines.
  1091. X */
  1092. X
  1093. X#define NO_DIRENT_H
  1094. X#include "s-sys5.h"
  1095. X
  1096. X#undef SIGNAL_HANDLERS_ARE_VOID
  1097. X#undef HAVE_MKDIR
  1098. X
  1099. X/*
  1100. X *    Specify where the Bourne Shell is.
  1101. X */
  1102. X
  1103. X#undef    SHELL
  1104. X#define    SHELL        "/bin/ksh"
  1105. X
  1106. X/*
  1107. X *    Use P.D. malloc library for the 286.
  1108. X *    This may not be needed if you don't have it...
  1109. X */
  1110. X
  1111. X#define EXTRA_LIB     -lm286
  1112. END_OF_FILE
  1113.   if test 362 -ne `wc -c <'conf/s-uport2-2.h'`; then
  1114.     echo shar: \"'conf/s-uport2-2.h'\" unpacked with wrong size!
  1115.   fi
  1116.   # end of 'conf/s-uport2-2.h'
  1117. fi
  1118. if test -f 'conf/s-usg3-1.h' -a "${1}" != "-c" ; then 
  1119.   echo shar: Will not clobber existing file \"'conf/s-usg3-1.h'\"
  1120. else
  1121.   echo shar: Extracting \"'conf/s-usg3-1.h'\" \(72 characters\)
  1122.   sed "s/^X//" >'conf/s-usg3-1.h' <<'END_OF_FILE'
  1123. X/*
  1124. X *    This version is for System V Release 3.1
  1125. X */
  1126. X
  1127. X#include "s-sys5.h"
  1128. END_OF_FILE
  1129.   if test 72 -ne `wc -c <'conf/s-usg3-1.h'`; then
  1130.     echo shar: \"'conf/s-usg3-1.h'\" unpacked with wrong size!
  1131.   fi
  1132.   # end of 'conf/s-usg3-1.h'
  1133. fi
  1134. if test -f 'conf/s-xenix386ds.h' -a "${1}" != "-c" ; then 
  1135.   echo shar: Will not clobber existing file \"'conf/s-xenix386ds.h'\"
  1136. else
  1137.   echo shar: Extracting \"'conf/s-xenix386ds.h'\" \(501 characters\)
  1138.   sed "s/^X//" >'conf/s-xenix386ds.h' <<'END_OF_FILE'
  1139. X/*
  1140. X *    For XENIX386 release 2.3.2 development system.
  1141. X *    Uses system V libraries and system calls.
  1142. X *     This version uses "termcap", but XENIX also has "terminfo".
  1143. X */
  1144. X
  1145. X#include "s-sys5-tcap.h"
  1146. X
  1147. X#undef    SIGNAL_HANDLERS_ARE_VOID
  1148. X
  1149. X#define AVOID_SHELL_EXEC
  1150. X
  1151. X#undef    MAILX
  1152. X#define    MAILX    "/usr/bin/mail"        /* SCO XENIX */
  1153. X
  1154. X/*
  1155. X *    Define standard compiler flags here:
  1156. X */
  1157. X
  1158. X#define COMPILER_FLAGS    -O
  1159. X
  1160. X/*
  1161. X *    If your system requires other libraries when linking nn
  1162. X *    specify them here:
  1163. X */
  1164. X
  1165. X#define EXTRA_LIB    -ldir
  1166. END_OF_FILE
  1167.   if test 501 -ne `wc -c <'conf/s-xenix386ds.h'`; then
  1168.     echo shar: \"'conf/s-xenix386ds.h'\" unpacked with wrong size!
  1169.   fi
  1170.   # end of 'conf/s-xenix386ds.h'
  1171. fi
  1172. if test -f 'contrib/cn' -a "${1}" != "-c" ; then 
  1173.   echo shar: Will not clobber existing file \"'contrib/cn'\"
  1174. else
  1175.   echo shar: Extracting \"'contrib/cn'\" \(688 characters\)
  1176.   sed "s/^X//" >'contrib/cn' <<'END_OF_FILE'
  1177. X# !/bin/sh
  1178. X# Sun Nov 30 22:34:48 EST 1986    (...!sunybcs!gworek / ...!boulder!forys)
  1179. X# Thu Feb 8   gt6152a@prism.gatech.edu
  1180. X#             Modefied cn to work with nn (patchlevel 10)
  1181. X#             NOTE:  You might want to change the following line below:
  1182. X#             printf "[%3.3s] %-20.20", $2, $1; \
  1183. X#                                      ^^^^^
  1184. X#                    This is the max length of the new group name that will be
  1185. X#                    printed.
  1186. X#
  1187. X#    cn - Check for available news, multicolumn style.
  1188. X#
  1189. X    nncheck -Q -t | sort +1 -2 |\
  1190. X        awk '{ \
  1191. X            printf "[%3.3s] %-20.20s", $1, $2; \
  1192. X            if ((NR % 3) == 0) \
  1193. X                print ""; \
  1194. X        } END { \
  1195. X            if ((NR) && (NR % 3)) \
  1196. X                print ""; \
  1197. X        }'
  1198. END_OF_FILE
  1199.   if test 688 -ne `wc -c <'contrib/cn'`; then
  1200.     echo shar: \"'contrib/cn'\" unpacked with wrong size!
  1201.   fi
  1202.   chmod +x 'contrib/cn'
  1203.   # end of 'contrib/cn'
  1204. fi
  1205. if test -f 'cvt-help.c' -a "${1}" != "-c" ; then 
  1206.   echo shar: Will not clobber existing file \"'cvt-help.c'\"
  1207. else
  1208.   echo shar: Extracting \"'cvt-help.c'\" \(530 characters\)
  1209.   sed "s/^X//" >'cvt-help.c' <<'END_OF_FILE'
  1210. X/*
  1211. X *    (c) Copyright 1990, Kim Fabricius Storm.  All rights reserved.
  1212. X *
  1213. X *    Convert help-files to binary.
  1214. X *    ;:X    ->    ^X (control X)
  1215. X */
  1216. X
  1217. X#include <stdio.h>
  1218. X
  1219. Xmain()
  1220. X{
  1221. X    register int c;
  1222. X
  1223. X    while ((c = getchar()) != EOF) {
  1224. X    if (c == ';') {
  1225. X        c = getchar();
  1226. X        if (c == ':') {
  1227. X        c = getchar();
  1228. X        putchar(c & 0xf);
  1229. X        continue;
  1230. X        }
  1231. X        putchar(';');
  1232. X        putchar(c);
  1233. X        continue;
  1234. X    }
  1235. X    if (c >= 1 && c <= 7) {
  1236. X        putchar(';');
  1237. X        putchar(':');
  1238. X        putchar(c | 0x40);
  1239. X        continue;
  1240. X    }
  1241. X    putchar(c);
  1242. X    }
  1243. X
  1244. X    exit(0);
  1245. X}
  1246. END_OF_FILE
  1247.   if test 530 -ne `wc -c <'cvt-help.c'`; then
  1248.     echo shar: \"'cvt-help.c'\" unpacked with wrong size!
  1249.   fi
  1250.   # end of 'cvt-help.c'
  1251. fi
  1252. if test -f 'debug.h' -a "${1}" != "-c" ; then 
  1253.   echo shar: Will not clobber existing file \"'debug.h'\"
  1254. else
  1255.   echo shar: Extracting \"'debug.h'\" \(496 characters\)
  1256.   sed "s/^X//" >'debug.h' <<'END_OF_FILE'
  1257. X/*
  1258. X *    (c) Copyright 1990, Kim Fabricius Storm.  All rights reserved.
  1259. X *
  1260. X *    Debug flags and defines
  1261. X *
  1262. X *    Notice:  no modules are conditioned by this file in the
  1263. X *         makefile.  touch the source file to have a change
  1264. X *         in debugging setup to reflect the program behaviour
  1265. X */
  1266. X
  1267. X
  1268. X/* debugging */
  1269. X
  1270. X#define RC_TEST        1    /* rc file updates */
  1271. X#define DG_TEST        2     /* digest decoding */
  1272. X#define SEQ_TEST    4    /* sequence file decoding */
  1273. X#define SEQ_DUMP    8    /* dump sequence after read */
  1274. X
  1275. Xextern int Debug;
  1276. END_OF_FILE
  1277.   if test 496 -ne `wc -c <'debug.h'`; then
  1278.     echo shar: \"'debug.h'\" unpacked with wrong size!
  1279.   fi
  1280.   # end of 'debug.h'
  1281. fi
  1282. if test -f 'dir.h' -a "${1}" != "-c" ; then 
  1283.   echo shar: Will not clobber existing file \"'dir.h'\"
  1284. else
  1285.   echo shar: Extracting \"'dir.h'\" \(759 characters\)
  1286.   sed "s/^X//" >'dir.h' <<'END_OF_FILE'
  1287. X/*
  1288. X *    (c) Copyright 1990, Kim Fabricius Storm.  All rights reserved.
  1289. X *
  1290. X *    Directory access routines (faked ones).
  1291. X *
  1292. X *    If HAVE_DIRECTORY is not defined, traditional sysV directory
  1293. X *    structure is assumed unless NOT_SYS5_DIRECTORY is defined (in
  1294. X *    which case a shell command is used to list a directory).
  1295. X */
  1296. X
  1297. X#ifndef HAVE_DIRECTORY
  1298. X
  1299. X#ifndef NOT_SYS5_DIRECTORY
  1300. Xstatic struct dir_entry {
  1301. X    short int    d_ino;
  1302. X    char    d_name[15];
  1303. X} dirbuf;
  1304. X
  1305. X#define Direntry struct dir_entry
  1306. X#define    DIR FILE
  1307. X#define opendir(name)    fopen(name, "r")
  1308. X#define readdir(dirp)    (fread(&dirbuf, 16, 1, dirp) == 1 ? &dirbuf : NULL)
  1309. X#undef rewinddir
  1310. X#define rewinddir(dirp)    rewind(dirp)
  1311. X#define closedir(dirp)    fclose(dirp)
  1312. X
  1313. X#define HAVE_DIRECTORY
  1314. X#define FAKED_DIRECTORY
  1315. X
  1316. X#endif
  1317. X#endif
  1318. END_OF_FILE
  1319.   if test 759 -ne `wc -c <'dir.h'`; then
  1320.     echo shar: \"'dir.h'\" unpacked with wrong size!
  1321.   fi
  1322.   # end of 'dir.h'
  1323. fi
  1324. if test -f 'help/adm.upgrade1' -a "${1}" != "-c" ; then 
  1325.   echo shar: Will not clobber existing file \"'help/adm.upgrade1'\"
  1326. else
  1327.   echo shar: Extracting \"'help/adm.upgrade1'\" \(392 characters\)
  1328.   sed "s/^X//" >'help/adm.upgrade1' <<'END_OF_FILE'
  1329. X;:AUPGRADE NOTICE;:A
  1330. X
  1331. XYou are now using nn release 6.4.
  1332. X
  1333. XThe major change from release 6.3 is that the ~/.nn/rc file is no
  1334. Xlonger used, since release 6.4 uses the standard .newsrc file to store
  1335. Xinformation about which groups you subscribe to and which articles you
  1336. Xhave read.
  1337. X
  1338. XSince you have no .newsrc file already, your current rc file will now
  1339. Xbe converted into a .newsrc automatically...
  1340. END_OF_FILE
  1341.   if test 392 -ne `wc -c <'help/adm.upgrade1'`; then
  1342.     echo shar: \"'help/adm.upgrade1'\" unpacked with wrong size!
  1343.   fi
  1344.   # end of 'help/adm.upgrade1'
  1345. fi
  1346. if test -f 'help/adm.upgrade2' -a "${1}" != "-c" ; then 
  1347.   echo shar: Will not clobber existing file \"'help/adm.upgrade2'\"
  1348. else
  1349.   echo shar: Extracting \"'help/adm.upgrade2'\" \(666 characters\)
  1350.   sed "s/^X//" >'help/adm.upgrade2' <<'END_OF_FILE'
  1351. X;:AUPGRADE NOTICE;:A
  1352. X
  1353. XYou are now using nn release 6.4.
  1354. X
  1355. XThe major change from release 6.3 is that the ~/.nn/rc file is no
  1356. Xlonger used, since release 6.4 uses the standard .newsrc file to store
  1357. Xinformation about which groups you subscribe to and which articles you
  1358. Xhave read.
  1359. X
  1360. XTo upgrade to release 6.4, your old rc file must be converted to the
  1361. Xstandard .newsrc format.
  1362. X
  1363. XYou already have a .newsrc, but it is older than the rc file, so
  1364. Xyou may just proceed and let nn upgrade the rc file to the new format.
  1365. X
  1366. XThe existing .newsrc will be saved in .newsrc.old, so you can still go
  1367. Xback and merge parts of it into the new .newsrc in case you have
  1368. Xspecial requirement.
  1369. END_OF_FILE
  1370.   if test 666 -ne `wc -c <'help/adm.upgrade2'`; then
  1371.     echo shar: \"'help/adm.upgrade2'\" unpacked with wrong size!
  1372.   fi
  1373.   # end of 'help/adm.upgrade2'
  1374. fi
  1375. if test -f 'help/adm.upgrade3' -a "${1}" != "-c" ; then 
  1376.   echo shar: Will not clobber existing file \"'help/adm.upgrade3'\"
  1377. else
  1378.   echo shar: Extracting \"'help/adm.upgrade3'\" \(626 characters\)
  1379.   sed "s/^X//" >'help/adm.upgrade3' <<'END_OF_FILE'
  1380. X;:AUPGRADE NOTICE;:A
  1381. X
  1382. XYou are now using nn release 6.4.
  1383. X
  1384. XThe major change from release 6.3 is that the ~/.nn/rc file is no
  1385. Xlonger used, since release 6.4 uses the standard .newsrc file to store
  1386. Xinformation about which groups you subscribe to and which articles you
  1387. Xhave read.
  1388. X
  1389. XTo upgrade to release 6.4, your old rc file must be converted to the
  1390. Xstandard .newsrc format, and nn may do this for you if you proceed.
  1391. X
  1392. XHowever, the current .newsrc file is newer than the .nn/rc file, so it
  1393. Xis likely that you have used another news reader since you last used
  1394. Xnn, and that you just want to proceed using the existing .newsrc file.
  1395. END_OF_FILE
  1396.   if test 626 -ne `wc -c <'help/adm.upgrade3'`; then
  1397.     echo shar: \"'help/adm.upgrade3'\" unpacked with wrong size!
  1398.   fi
  1399.   # end of 'help/adm.upgrade3'
  1400. fi
  1401. if test -f 'help/adm.upgrade4' -a "${1}" != "-c" ; then 
  1402.   echo shar: Will not clobber existing file \"'help/adm.upgrade4'\"
  1403. else
  1404.   echo shar: Extracting \"'help/adm.upgrade4'\" \(485 characters\)
  1405.   sed "s/^X//" >'help/adm.upgrade4' <<'END_OF_FILE'
  1406. X;:AUPGRADE NOTICE (continued);:A
  1407. X
  1408. XSince you did not want to use the current .newsrc file although it is
  1409. Xnewer than the .nn/rc file, you will now have the option to let nn
  1410. Xconvert the rc file to .newsrc format and replace the current .newsrc
  1411. Xwith the result.
  1412. X
  1413. XThe existing .newsrc file will be saved in .newsrc.old, so you will
  1414. Xstill have the opportunity to go back to using the current .newsrc
  1415. Xfile, or merge it with the .newsrc file created by nn if you have
  1416. Xspecial requirements.
  1417. X
  1418. X
  1419. X
  1420. END_OF_FILE
  1421.   if test 485 -ne `wc -c <'help/adm.upgrade4'`; then
  1422.     echo shar: \"'help/adm.upgrade4'\" unpacked with wrong size!
  1423.   fi
  1424.   # end of 'help/adm.upgrade4'
  1425. fi
  1426. if test -f 'help/adm.welcome' -a "${1}" != "-c" ; then 
  1427.   echo shar: Will not clobber existing file \"'help/adm.welcome'\"
  1428. else
  1429.   echo shar: Extracting \"'help/adm.welcome'\" \(599 characters\)
  1430.   sed "s/^X//" >'help/adm.welcome' <<'END_OF_FILE'
  1431. X;:AWelcome to the nn news reader;:A                ;:ARelease ;:D;:A
  1432. X
  1433. XUnlike the other news readers you might be familiar with, the ultimate
  1434. Xgoal of nn is "not to read news"; actually, "nn" is an acronym for "No
  1435. XNews", and the motto of nn is:
  1436. X
  1437. X    No news is good news, but nn is better.
  1438. X
  1439. XI hope that you will enjoy using nn.
  1440. X
  1441. XThree levels of online help is available:
  1442. X ;:A?;:A    gives a quick reference guide for the current mode.
  1443. X ;:A:help;:A    explains how to get help on specific subjects.
  1444. X ;:A:man;:A    opens the online manual.
  1445. X
  1446. XUse ;:AQ;:A to quit nn.
  1447. X
  1448. XHave fun,
  1449. X
  1450. XKim Fabricius Storm
  1451. XTexas Instruments A/S
  1452. XDenmark
  1453. END_OF_FILE
  1454.   if test 599 -ne `wc -c <'help/adm.welcome'`; then
  1455.     echo shar: \"'help/adm.welcome'\" unpacked with wrong size!
  1456.   fi
  1457.   # end of 'help/adm.welcome'
  1458. fi
  1459. if test -f 'help/help.attr' -a "${1}" != "-c" ; then 
  1460.   echo shar: Will not clobber existing file \"'help/help.attr'\"
  1461. else
  1462.   echo shar: Extracting \"'help/help.attr'\" \(328 characters\)
  1463.   sed "s/^X//" >'help/help.attr' <<'END_OF_FILE'
  1464. X;:AARTICLE ATTRIBUTES;:A
  1465. X
  1466. XThe following attributes are used to mark articles on the menu:
  1467. X
  1468. X(blank)    Unread
  1469. X
  1470. X*    Selected (if terminal doesn't have standout mode or at slow speed)
  1471. X
  1472. X.    Read (or saved)
  1473. X,    Seen on menu (but not read)
  1474. X
  1475. X+    Marked with `l' for later treatment
  1476. X=    Marked with `L' for treatment on next invocation
  1477. X
  1478. X#    Cancelled
  1479. END_OF_FILE
  1480.   if test 328 -ne `wc -c <'help/help.attr'`; then
  1481.     echo shar: \"'help/help.attr'\" unpacked with wrong size!
  1482.   fi
  1483.   # end of 'help/help.attr'
  1484. fi
  1485. if test -f 'help/help.help' -a "${1}" != "-c" ; then 
  1486.   echo shar: Will not clobber existing file \"'help/help.help'\"
  1487. else
  1488.   echo shar: Extracting \"'help/help.help'\" \(314 characters\)
  1489.   sed "s/^X//" >'help/help.help' <<'END_OF_FILE'
  1490. X;:AHELP COMMAND;:A
  1491. X
  1492. X:man        Read online manual
  1493. X
  1494. X:help SUBJECT    Get help on specified SUBJECT
  1495. X
  1496. XHelp is available on the the following subjects:
  1497. X
  1498. Xcommands    commands that can be bound to keys
  1499. Xextended    extended commands (:command)
  1500. Xmap        key mapping
  1501. Xset        variable setting
  1502. Xshow        displaying various tables
  1503. Xvariables    variables
  1504. END_OF_FILE
  1505.   if test 314 -ne `wc -c <'help/help.help'`; then
  1506.     echo shar: \"'help/help.help'\" unpacked with wrong size!
  1507.   fi
  1508.   # end of 'help/help.help'
  1509. fi
  1510. if test -f 'help/help.set' -a "${1}" != "-c" ; then 
  1511.   echo shar: Will not clobber existing file \"'help/help.set'\"
  1512. else
  1513.   echo shar: Extracting \"'help/help.set'\" \(413 characters\)
  1514.   sed "s/^X//" >'help/help.set' <<'END_OF_FILE'
  1515. X;:ASET COMMAND;:A
  1516. X
  1517. X:set            show changed variables
  1518. X:set all        show all variables
  1519. X
  1520. X    Modified variables are marked with a *
  1521. X    Local variables are marked with a >
  1522. X
  1523. X:set VARIABLE VALUE    set VARIABLE to VALUE
  1524. X
  1525. X:unset VARIABLE        reset VARIABLE
  1526. X
  1527. X:toggle VARIABLE    toggle boolean VARIABLE
  1528. X
  1529. X:local VARIABLE [VALUE]    make VARIABLE local to current group
  1530. X            if VALUE is specified assign it to the local variable
  1531. X
  1532. X
  1533. X;:Chelp.variables
  1534. END_OF_FILE
  1535.   if test 413 -ne `wc -c <'help/help.set'`; then
  1536.     echo shar: \"'help/help.set'\" unpacked with wrong size!
  1537.   fi
  1538.   # end of 'help/help.set'
  1539. fi
  1540. if test -f 'help/help.show' -a "${1}" != "-c" ; then 
  1541.   echo shar: Will not clobber existing file \"'help/help.show'\"
  1542. else
  1543.   echo shar: Extracting \"'help/help.show'\" \(591 characters\)
  1544.   sed "s/^X//" >'help/help.show' <<'END_OF_FILE'
  1545. X;:ASHOW COMMAND;:A
  1546. X
  1547. X:show kill        show auto kill/select entries for current
  1548. X            groups and all groups.
  1549. X
  1550. X:show groups        show groups with unread articles (= Y command)
  1551. X:show groups all    show all subscribed groups
  1552. X:show groups subscr    show unread subscribed groups
  1553. X:show groups total    show all available groups
  1554. X:show groups unsub    show unsubscribed groups
  1555. X
  1556. X:show map        show current mode's key bindings
  1557. X:show map key        show global key bindings
  1558. X:show map menu/show    show specified mode's key bindings
  1559. X:show map #        show multi key definitions
  1560. X
  1561. X:show rc [GROUP]    show (current) GROUP's .newsrc and select data.
  1562. END_OF_FILE
  1563.   if test 591 -ne `wc -c <'help/help.show'`; then
  1564.     echo shar: \"'help/help.show'\" unpacked with wrong size!
  1565.   fi
  1566.   # end of 'help/help.show'
  1567. fi
  1568. if test -f 'inews/Manifest' -a "${1}" != "-c" ; then 
  1569.   echo shar: Will not clobber existing file \"'inews/Manifest'\"
  1570. else
  1571.   echo shar: Extracting \"'inews/Manifest'\" \(649 characters\)
  1572.   sed "s/^X//" >'inews/Manifest' <<'END_OF_FILE'
  1573. X   2 -r--r--r--  1 news         1406 Dec 21 18:00 Makefile
  1574. X   1 -rw-r--r--  1 news          649 Dec 21 18:00 Manifest
  1575. X   3 -r--r--r--  1 news         2391 Dec 21 18:00 README
  1576. X   2 -r--r--r--  1 news         1863 Dec 21 18:00 README.NN
  1577. X  11 -r--r--r--  1 news        11154 Dec 21 18:00 clientlib.c
  1578. X   1 -r--r--r--  1 news          230 Dec 21 18:00 clientlib.h
  1579. X   4 -r--r--r--  1 news         3106 Dec 21 18:00 conf.h
  1580. X   8 -r--r--r--  1 news         7983 Dec 21 18:00 inews.c
  1581. X   3 -r--r--r--  1 news         2530 Dec 21 18:00 nntp.h
  1582. X   3 -r--r--r--  1 news         2167 Dec 21 18:00 uname.c
  1583. X   1 -r--r--r--  1 news          103 Dec 21 18:00 version.c
  1584. END_OF_FILE
  1585.   if test 649 -ne `wc -c <'inews/Manifest'`; then
  1586.     echo shar: \"'inews/Manifest'\" unpacked with wrong size!
  1587.   fi
  1588.   # end of 'inews/Manifest'
  1589. fi
  1590. if test -f 'inews/clientlib.h' -a "${1}" != "-c" ; then 
  1591.   echo shar: Will not clobber existing file \"'inews/clientlib.h'\"
  1592. else
  1593.   echo shar: Extracting \"'inews/clientlib.h'\" \(230 characters\)
  1594.   sed "s/^X//" >'inews/clientlib.h' <<'END_OF_FILE'
  1595. X/*
  1596. X * Definitions for NNTP client routines.
  1597. X *
  1598. X * @(#)clientlib.h    1.1    (Berkeley) 1/9/88
  1599. X */
  1600. X
  1601. Xextern    char    *getserverbyfile();
  1602. Xextern    int    server_init();
  1603. Xextern    void    put_server();
  1604. Xextern    int    get_server();
  1605. Xextern    void    close_server();
  1606. END_OF_FILE
  1607.   if test 230 -ne `wc -c <'inews/clientlib.h'`; then
  1608.     echo shar: \"'inews/clientlib.h'\" unpacked with wrong size!
  1609.   fi
  1610.   # end of 'inews/clientlib.h'
  1611. fi
  1612. if test -f 'inews/version.c' -a "${1}" != "-c" ; then 
  1613.   echo shar: Will not clobber existing file \"'inews/version.c'\"
  1614. else
  1615.   echo shar: Extracting \"'inews/version.c'\" \(103 characters\)
  1616.   sed "s/^X//" >'inews/version.c' <<'END_OF_FILE'
  1617. X/*
  1618. X * Provide the version number of this release.
  1619. X */
  1620. X
  1621. Xchar    nntp_version[] = "1.5.7 (10 November 89)";
  1622. END_OF_FILE
  1623.   if test 103 -ne `wc -c <'inews/version.c'`; then
  1624.     echo shar: \"'inews/version.c'\" unpacked with wrong size!
  1625.   fi
  1626.   # end of 'inews/version.c'
  1627. fi
  1628. if test -f 'nngrab.sh' -a "${1}" != "-c" ; then 
  1629.   echo shar: Will not clobber existing file \"'nngrab.sh'\"
  1630. else
  1631.   echo shar: Extracting \"'nngrab.sh'\" \(600 characters\)
  1632.   sed "s/^X//" >'nngrab.sh' <<'END_OF_FILE'
  1633. X# nngrab -- quick news retrieval by keyword
  1634. X#
  1635. X# From: James A. Woods (ames!jaw), NASA Ames Research Center
  1636. X#
  1637. X# Naturally, you're running fast e?grep (GNU-style) or this is all for
  1638. X# naught.
  1639. X
  1640. X
  1641. Xtrap "rm -f $TMP/nngrab$$" 0 1 2 15
  1642. X
  1643. Xif [ ! $# -eq 1 ] ; then
  1644. X    echo "usage: $0 keyword-pattern"
  1645. X    exit 1
  1646. Xfi
  1647. X
  1648. Xif [ -s $DB/subjects ] ; then
  1649. X    egrep -i "^[^:]*:.*$1" $DB/subjects |
  1650. X    sed 's/^\([^:]*\):.*/\1/' |
  1651. X    uniq > $TMP/nngrab$$
  1652. X
  1653. X    if [ ! -s $TMP/nngrab$$ ] ; then
  1654. X        echo "Pattern '$1' not found in any subjects"
  1655. X        exit
  1656. X    fi
  1657. X
  1658. X    $BIN/nn -Q -mxX -s/"$1" -G `cat $TMP/nngrab$$`
  1659. Xelse
  1660. X    $BIN/nn -Q -mxX -s/"$1" all
  1661. Xfi
  1662. END_OF_FILE
  1663.   if test 600 -ne `wc -c <'nngrab.sh'`; then
  1664.     echo shar: \"'nngrab.sh'\" unpacked with wrong size!
  1665.   fi
  1666.   # end of 'nngrab.sh'
  1667. fi
  1668. if test -f 'nnspew.sh' -a "${1}" != "-c" ; then 
  1669.   echo shar: Will not clobber existing file \"'nnspew.sh'\"
  1670. else
  1671.   echo shar: Extracting \"'nnspew.sh'\" \(564 characters\)
  1672.   sed "s/^X//" >'nnspew.sh' <<'END_OF_FILE'
  1673. X# nnspew -- generate subject line database
  1674. X#
  1675. X# From: James A. Woods (ames!jaw), NASA Ames Research Center
  1676. X#
  1677. X# Updates the auxiliary 'subjects' file.  It must be activated regularly
  1678. X# via a system-wide 'cron' or 'at' command, e.g.
  1679. X#
  1680. X#     2 6,9,12,15,18,21 * * *  root /bin/nice /usr/lib/nn/nnspew
  1681. X
  1682. Xtrap "rm -f $TMP/nnsubj$$* ; exit" 0 1 2 15
  1683. X
  1684. X# We use a "secret" 'nn -SPEW' call to do the hard part:
  1685. X
  1686. Xif $BIN/nn -SPEW < /dev/null > $TMP/nnsubj$$a
  1687. Xthen
  1688. X    if sort -u $TMP/nnsubj$$a > $TMP/nnsubj$$b
  1689. X    then
  1690. X        mv $TMP/nnsubj$$b $DB/subjects
  1691. X        chmod 644 $DB/subjects
  1692. X    fi
  1693. Xfi
  1694. END_OF_FILE
  1695.   if test 564 -ne `wc -c <'nnspew.sh'`; then
  1696.     echo shar: \"'nnspew.sh'\" unpacked with wrong size!
  1697.   fi
  1698.   # end of 'nnspew.sh'
  1699. fi
  1700. if test -f 'nnusage.sh' -a "${1}" != "-c" ; then 
  1701.   echo shar: Will not clobber existing file \"'nnusage.sh'\"
  1702. else
  1703.   echo shar: Extracting \"'nnusage.sh'\" \(674 characters\)
  1704.   sed "s/^X//" >'nnusage.sh' <<'END_OF_FILE'
  1705. X# CONFIG file is inserted here
  1706. X
  1707. XOPT=""
  1708. XSORTMODE=""
  1709. XALL=false
  1710. X
  1711. XLOOP=true
  1712. Xwhile $LOOP
  1713. Xdo
  1714. X    case "$1" in
  1715. X    -a)    OPT="$OPT -a"
  1716. X        ALL=true
  1717. X        shift ;;
  1718. X    -t)    SORTMODE="+1nr"
  1719. X        shift ;;
  1720. X    *)    LOOP=false
  1721. X    esac
  1722. Xdone
  1723. X
  1724. Xif [ -f $DB/acct -a -f $BIN/nnacct ] ; then
  1725. X    $BIN/nnacct -r $OPT $@ | sort $SORTMODE
  1726. X    exit
  1727. Xfi
  1728. X
  1729. Xif $ALL
  1730. Xthen
  1731. X    grep '^U:' $LOG
  1732. Xelse
  1733. X    grep "^U:.*(${LOGNAME-$USER})" $LOG
  1734. Xfi |
  1735. X
  1736. X${AWK} '
  1737. XBEGIN {
  1738. X    any=0
  1739. X}
  1740. XNF == 7 {
  1741. X    if (split($7, t, ".") == 2) {
  1742. X        u[$5] += t[1] * 60 + t[2]
  1743. X        any=1
  1744. X    }
  1745. X}
  1746. XEND {
  1747. X    if (!any) {
  1748. X        printf("No usage statistics\n")
  1749. X        exit
  1750. X    }
  1751. X    for (n in u) {
  1752. X        name=substr(n, 2, length(n)-3)
  1753. X        printf("%-10.10s%8d.%02d\n", name, u[n]/60, u[n]%60);
  1754. X    }
  1755. X}' |
  1756. X
  1757. Xsort $SORTMODE
  1758. END_OF_FILE
  1759.   if test 674 -ne `wc -c <'nnusage.sh'`; then
  1760.     echo shar: \"'nnusage.sh'\" unpacked with wrong size!
  1761.   fi
  1762.   # end of 'nnusage.sh'
  1763. fi
  1764. if test -f 'upgrade_rc.sh' -a "${1}" != "-c" ; then 
  1765.   echo shar: Will not clobber existing file \"'upgrade_rc.sh'\"
  1766. else
  1767.   echo shar: Extracting \"'upgrade_rc.sh'\" \(776 characters\)
  1768.   sed "s/^X//" >'upgrade_rc.sh' <<'END_OF_FILE'
  1769. X# Upgrade from release 6.3
  1770. X#
  1771. X# Convert old rc file to .newsrc
  1772. X
  1773. Xcd
  1774. X
  1775. Xif [ ! -d .nn ]
  1776. Xthen
  1777. X    echo "No .nn directory"
  1778. X    exit 1
  1779. Xfi
  1780. X
  1781. Xif [ ! -f .nn/rc ]
  1782. Xthen
  1783. X    echo "No rc file -- upgrade not possible"
  1784. X    exit 2
  1785. Xfi
  1786. X
  1787. Xif [ x"$1" = "xn" ]
  1788. Xthen
  1789. X    echo "Using existing .newsrc"
  1790. Xelse
  1791. X
  1792. X    if [ -f .newsrc ]
  1793. X    then
  1794. X        rm -f .newsrc.old
  1795. X        mv .newsrc .newsrc.old
  1796. X        echo "Old .newsrc saved in .newsrc.old"
  1797. X    fi
  1798. X    echo "Creating .newsrc"
  1799. X
  1800. X    ${AWK} '
  1801. X    NF != 3 {
  1802. X        next
  1803. X    }
  1804. X
  1805. X    $1 == "+" || $1 == "!" {
  1806. X        if ($1 == "+")
  1807. X            printf("%s:", $3)
  1808. X        else
  1809. X            printf("%s!", $3)
  1810. X        if ($2+0 > 1)
  1811. X            printf(" 1-%d\n", $2+0)
  1812. X        else
  1813. X        if ($2 == 1)
  1814. X            printf(" 1\n")
  1815. X        else
  1816. X            printf("\n")
  1817. X    }' < .nn/rc > .newsrc
  1818. X
  1819. Xfi
  1820. X
  1821. Xcd .nn
  1822. Xrm -f rc-6.3 S.[0-9]*
  1823. Xmv rc rc-6.3
  1824. Xecho "Old rc file saved in rc-6.3"
  1825. X
  1826. Xecho "Upgrade completed"
  1827. Xexit 0
  1828. END_OF_FILE
  1829.   if test 776 -ne `wc -c <'upgrade_rc.sh'`; then
  1830.     echo shar: \"'upgrade_rc.sh'\" unpacked with wrong size!
  1831.   fi
  1832.   # end of 'upgrade_rc.sh'
  1833. fi
  1834. if test -f 'usercheck.c' -a "${1}" != "-c" ; then 
  1835.   echo shar: Will not clobber existing file \"'usercheck.c'\"
  1836. else
  1837.   echo shar: Extracting \"'usercheck.c'\" \(198 characters\)
  1838.   sed "s/^X//" >'usercheck.c' <<'END_OF_FILE'
  1839. X/* check for whether caller is a specific uid (numeric) */
  1840. X
  1841. Xmain(argc, argv)
  1842. Xint argc;
  1843. Xchar *argv[];
  1844. X{
  1845. X    int uid = 0;
  1846. X
  1847. X    if (argc > 1) uid = atoi(argv[1]);
  1848. X
  1849. X    exit(getuid() == uid ? 0 : 1);
  1850. X}
  1851. END_OF_FILE
  1852.   if test 198 -ne `wc -c <'usercheck.c'`; then
  1853.     echo shar: \"'usercheck.c'\" unpacked with wrong size!
  1854.   fi
  1855.   # end of 'usercheck.c'
  1856. fi
  1857. echo shar: End of archive 22 \(of 22\).
  1858. cp /dev/null ark22isdone
  1859. MISSING=""
  1860. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 ; do
  1861.     if test ! -f ark${I}isdone ; then
  1862.     MISSING="${MISSING} ${I}"
  1863.     fi
  1864. done
  1865. if test "${MISSING}" = "" ; then
  1866.     echo You have unpacked all 22 archives.
  1867.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1868. else
  1869.     echo You still must unpack the following archives:
  1870.     echo "        " ${MISSING}
  1871. fi
  1872. exit 0
  1873.